﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using Lamex.Library;

namespace Lamex.mMES.UI
{
    public partial class frmMES_Lab_Controls : frmBaseChild
    {
        //DevExpress中文帮助文档
        //https://www.dxper.net/documents/

        public frmMES_Lab_Controls()
        {
            InitializeComponent();
        }

        private void labelControl15_Click(object sender, EventArgs e)
        {

        }

        private void colorEdit1_EditValueChanged(object sender, EventArgs e)
        {

        }

        private void simpleButton1_Click(object sender, EventArgs e)
        {
            //Lamex.Common.IniFile ini = new Lamex.Common.IniFile(Application.StartupPath + "\\config\\CSFramework3.ini");
            //int iLanguage = int.Parse(ini.IniReadValue("Configuration", "ChangeLanguage").ToString());
            //if (iLanguage == 0)
                Help.ShowHelp(this, @"D:\Zbk_Ref\DevExpress\WindowsFormsChmHelp.v18.1.4\Devexpress Winform中文文档.CHM");
            //else
            //    //网络盘无法显示内容，WINDOWS安全机制问题
            //    //Help.ShowHelp(this, @"\\Tx-fs10\tx-fs1\LAMEX\MES\AppMgmt\Help\WindowsFormsCHMHelp.v17.1.5\WindowsForms.chm");
            //    Help.ShowHelp(this, @"D:\Zbk_Ref\DevExpress\WindowsFormsChmHelp.v18.1.4\WindowsForms.chm");
        }

        private void simpleButton2_Click(object sender, EventArgs e)
        {
            Help.ShowHelp(this, @"D:\Zbk_Ref\DevExpress\WindowsFormsChmHelp.v18.1.4\WindowsForms.chm");
        }

        private void panelControl1_Paint(object sender, PaintEventArgs e)
        {

        }
    }
}